<?php echo $this->doctype() . PHP_EOL; ?>
<html xmlns="http://www.w3.org/1999/xhtml" lang="pt-br">
    <head>
        <?php echo $this->headMeta() . PHP_EOL; ?>
        <?php echo $this->headTitle() . PHP_EOL;  ?>
        <?php echo $this->headLink() . PHP_EOL;  ?>
        <?php echo $this->headStyle() . PHP_EOL;  ?>
        <?php echo $this->jQuery() . PHP_EOL;  ?>
        <?php echo $this->headScript() . PHP_EOL; ?>
    </head>
    <body>
        <div id="header">
            <div id="logo">
                <h1>
                    <a href="<?php echo $this->information()->getHostname() ?>">
                        <?php echo $this->information()->getName() ?>
                    </a>
                </h1>
                <h2><?php echo $this->layout()->subTitle; ?></h2>
            </div>
            <div id="primary-nav">
                <div id="nav">
                    <?php echo $this->primaryNavigation()->menu()->render(); ?>
                    <div class="clear-both"></div>
                </div>
            </div>
        </div>
        <div id="page">
            <div id="body">
                <div id="secondary-nav">
                    <div class="item">
                        <h2><?php echo $this->translate('Menu'); ?></h2>
                        <?php echo $this->secondaryNavigation()->menu()->render(); ?>
                    </div>
                </div>
                <div id="content">
                    <h2><?php echo $this->pageTitle(); ?></h2>
                    <?php echo $this->layout()->content; ?>
                    <div class="clear-both"></div>
                </div>
                <div id="sidebar">
                    <?php echo $this->layout()->sidebar; ?>
                </div>
                <div class="clear-both"></div>
            </div>
        </div>
        <div id="footer">
            <p><?php echo $this->translate('Licensed under the Creative Commons Attribution 3.0 License'); ?></p>
        </div>
    </body>
</html>